package com.share.tool.devops.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ser_register")
public class SerRegister extends Model<SerRegister> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    String ip;
    @TableField("context_path")
    String contextPath;
    String port;

    @TableField("service_name")
    String serviceName;
    String version;
    @TableField("update_time")
    Date updateTime;
    @TableField("create_time")
    Date createTime;
}
